from django.urls import path
from . import views

app_name = 'prompts'

urlpatterns = [
    path('', views.prompt_list, name='list'),
    path('detail/<int:pk>/', views.prompt_detail, name='detail'),
    path('create/', views.prompt_create, name='create'),
    path('update/<int:pk>/', views.prompt_update, name='update'),
    path('delete/<int:pk>/', views.prompt_delete, name='delete'),
    path('category/create/', views.category_create, name='category_create'),
    path('filter/', views.filter_prompts, name='filter_prompts'),
    path('dictionary/lookup/', views.lookup_word, name='lookup_word'),
    path('dictionary/related/', views.get_related_words, name='related_words'),
    path('dictionary/', views.dictionary_view, name='dictionary'),
    path('dictionary/speak/', views.speak, name='speak'),
]
